package com.yjy.fuyao.stu.client.fallback;

import com.yjy.fuyao.stu.client.UcenterClient;
import com.yjy.fuyao.utils.vo.UserVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class UcenterClientFallback implements UcenterClient {
    @Override
    public UserVo getUserInfo(String userId) {
        log.error("远程调用失败，服务熔断");
        return null;
    }
}
